package edu.guet.server.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import edu.guet.server.mapper.TestPaperMapper;
import edu.guet.server.utils.ResultAPI;

@Service
public class TestPaperService {
    @Autowired
    TestPaperMapper testPaperMapper;

    public ResultAPI selectTestPaperById(int test_id){
        return ResultAPI.success(testPaperMapper.selectTestPaperById(test_id), "查询成功");
    }
}
